package com.example.model;

import java.util.List;

public class Machine {
    private int id;
    private String qrcode;
    private String result; // NG，OK
    private String machine_id;
    private String process_no;
    private String create_time;
    private String machine_test;
    private String machine_value;
    private String machine_type;
    private String length_type;
    private String thickness_type;
    private String product_no;
    private String item_no;
    private String colour_no;
    private List<String> machines;
    private int interval_times;
    public Machine() {
    }

    public Machine(int id, String qrcode, String result, String machine_id,String process_no,String create_time, String machine_data,
                   String machine_value, String machine_type,String length_type,String thickness_type,String product_no,
                   String item_no,String colour_no,int interval_times) {
        this.id = id;
        this.qrcode = qrcode;
        this.result = result;
        this.machine_id = machine_id;
        this.process_no = process_no;
        this.create_time = create_time;
        this.machine_test = machine_test;
        this.machine_value = machine_value;
        this.machine_type = machine_type;
        this.length_type = length_type;
        this.thickness_type = thickness_type;
        this.product_no = product_no;
        this.item_no = item_no;
        this.colour_no = colour_no;
        this.interval_times = interval_times;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMachine_id() {
        return machine_id;
    }

    public void setMachine_id(String machine_id) {
        this.machine_id = machine_id;
    }


    public String getProcess_no() {
        return process_no;
    }

    public void setProcess_no(String process_no) {
        this.process_no = process_no;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getMachine_test() {
        return machine_test;
    }

    public void setMachine_test(String machine_test) {
        this.machine_test = machine_test;
    }

    public String getMachine_value() {
        return machine_value;
    }

    public void setMachine_value(String machine_value) {
        this.machine_value = machine_value;
    }

    public String getMachine_type() {
        return machine_type;
    }

    public void setMachine_type(String machine_type) {
        this.machine_type = machine_type;
    }

    public String getLength_type() {
        return length_type;
    }

    public void setLength_type(String length_type) {
        this.length_type = length_type;
    }

    public String getThickness_type() {
        return thickness_type;
    }

    public void setThickness_type(String thickness_type) {
        this.thickness_type = thickness_type;
    }

    public String getProduct_no() {
        return product_no;
    }

    public void setProduct_no(String product_no) {
        this.product_no = product_no;
    }

    public String getItem_no() {
        return item_no;
    }

    public void setItem_no(String item_no) {
        this.item_no = item_no;
    }

    public String getColour_no() {
        return colour_no;
    }

    public void setColour_no(String colour_no) {
        this.colour_no = colour_no;
    }


    public int getInterval_times() {
        return interval_times;
    }

    public void setInterval_times(int interval_times) {
        this.interval_times = interval_times;
    }

    @Override
    public String toString() {
        return "Mac_data{" +
                "id=" + id +
                ", qrcode='" + qrcode + '\'' +
                ", result=" + result +'\'' +
                ", machine_test='" + machine_test + '\'' +
                ", machine_value='" + machine_value + '\'' +
                ", machine_type='" + machine_type + '\'' +
                ", create_time='" + create_time + '\'' +
                ", machine_id='" + machine_id + '\'' +
                ", length_type='" + length_type + '\'' +
                ", thickness_type='" + thickness_type + '\'' +
                ", product_no='" + product_no + '\'' +
                ", item_no='" + item_no + '\'' +
                ", colour_no='" + colour_no + '\'' +
                '}';
    }

    public List<String> getMachines() {
        return machines;
    }

    public void setMachine(List<String> machines) {
        this.machines = machines;
    }

   /* public Mac_data(int id, String qrcode, String result, String machine_test, String machine_value,String machine_type, String create_time, String machine_id) { */
}
